home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue.arc
/
TVWREORD.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-09
|
1KB
|
32 lines
/*=======================================================*/
/* TVWREORD.C */
/* */
/* (c) Copyright 1988 Ralf Brown All Rights Reserved */
/* May be freely copied for noncommercial use, so long */
/* as this copyright notice remains intact, and any */
/* changes are marked in the comment blocks preceding */
/* functions. */
/*=======================================================*/
#include "tvapi.h"
#include "tvstream.h"
/*=======================================================*/
/* TVwin_reorder reorder which windows appear on top of */
/* others */
/* Ralf Brown 4/4/88 */
/*=======================================================*/
/* this function must be "cdecl", so that the args are on */
/* the stack in the right order to simply pass on to DV */
/*========================================================*/
void cdecl TVwin_reorder(OBJECT win,unsigned first,...)
{
static BYTE stream[] = { S_MANAGER(5), MS_REORDER, 0,0,0,0 } ;
*((unsigned far **)(stream+5)) = (unsigned far *)&first ;
TVwin_stream(win,stream) ;
}
/* End of TVWREORD.C */